#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "GeneralSprite.h"

@interface MotorSprite : GeneralSprite {
    float tx;   //Time to move from right-to-left, should be fixed
    float deltaY;   //vertical distance it moves in 1 second
    
    float maxY;     //Maximum virtical distance the motor moves
}
@property float tx;
@property float deltaY;
@property float maxY;

-(void) startMoving;
-(void) moveLeft;
-(void) moveRight;
-(void) completeAction;
@end
